<h1>LISTADO DE ESTUDIOS DE TITULOS </h1>
<div class="paging">
<?php
echo $this->Paginator->options(array('update' => '#content','evalScripts' => false));echo $this->Paginator->prev('< ' . __('Anterior'), array(), null, array('class' => 'prev disabled'));
echo $this->Paginator->numbers(array('separator' => ''));
echo $this->Paginator->next(__('Siguiente') . ' >', array(), null, array('class' => 'next disabled'));
?>
</div>
<table>
	<thead>
		<tr>
		<th><?php echo $this->Paginator->sort('TitleStudy.id','Id'); ?></th>
		<th><?php echo $this->Paginator->sort('TitleStudy.nombre_predio','Predio'); ?></th>
		<th><?php echo $this->Paginator->sort('TitleStudy.concepto','Concepto estudio'); ?></th>
		<th><?php echo $this->Paginator->sort('TitleStudy.calificacion','Calificación estudio'); ?></th>
		<th></th>
		<th></th>
		</tr>
	</thead>
	<tbody>
<?php foreach ( $TitleStudies as $TitleStudy):?>
		<tr>
		<td><?php echo $TitleStudy['TitleStudy']['id']; ?></td>
		<td><?php echo $TitleStudy['Property']['nombre']; ?></td>
		<td><?php echo $TitleStudy['TitleStudy']['concepto']; ?></td>
		<td><?php echo $TitleStudy['TitleStudy']['calificacion']; ?></td>
		<td><?php echo $this->Ajax->link('Editar',array('controller'=>'TitleStudies','action'=>'edit',$TitleStudy["TitleStudy"]["id"]),array('update'=>'content','indicator'=>'loading','complete'=>'formularioAjax()')); ?></td>
		<td><?php echo $this->Ajax->link('Eliminar',array('controller'=>'TitleStudies','action'=>'delete',$TitleStudy["TitleStudy"]["id"],$property_id),array('update'=>'content','indicator'=>'loading','complete'=>'formularioAjax()'),'¿realmente desea borrar el registro?'); ?></td>
		</tr>
<?php endforeach;?>
	</tbody>
</table>
<?php echo $this->Js->writeBuffer();?>
		<?php echo $this->Ajax->link('Adicionar',array('controller'=>'TitleStudies','action'=>'add',$property_id),array('update'=>'content','indicator'=>'loading','complete'=>'formularioAjax()')); ?>
